package com.indexingsystem.boss.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.indexingsystem.boss.entity.AuditLogs;
import com.indexingsystem.boss.entity.DhResourceauditlogs;

public interface DhResourceauditlogsMapper {
    int deleteByPrimaryKey(String id);

    int insert(DhResourceauditlogs record);

    int insertSelective(DhResourceauditlogs record);

    DhResourceauditlogs selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DhResourceauditlogs record);

    int updateByPrimaryKey(DhResourceauditlogs record);
    
    
    /**
     * 批量删除入库审核日志信息.
     * @param list
     * @return
     */
    int deleteBatchResourceAuditLogs(@Param("list") List<String> list);
    
    
    /**
     * 批量新增审核日志.
     * 
     * @param list
     * @return
     */
    int batchAddResourceAuditLogs(@Param("list") List<DhResourceauditlogs> list);
    
    /**
     * 通过资源id获取入库资源审核信息.
     * @param resId
     * @return
     */
    DhResourceauditlogs getResAuditlogsByResId(String resId);
}